<?php

/** @var \Illuminate\Database\Eloquent\Factory $factory */

use App\Models\OperationManagement\TrashSite;
use Faker\Generator as Faker;
use Illuminate\Support\Str;

$factory->define(TrashSite::class, function (Faker $faker) {
    return [
        'name' => $faker->name,
        'address' => Str::random(10),
        // 'location' => 'POINT(' . $faker->randomFloat(6,-180,180).' '. $faker->randomFloat(6,-90,90) . ')',
        'type' => $faker->numberBetween(1,4),
        'mold' => $faker->numberBetween(1,2),
        'number' => $faker->numberBetween(10,100),
        'bulk' => $faker->numberBetween(10,50),
        'clean_num' => $faker->numberBetween(1,10),
        'path' => $faker->numberBetween(1,4),
        'clean_time' => $faker->time('H:i') . '-' . $faker->time('H:i'),
        'bulk_avg' => $faker->numberBetween(1,30)
    ];
});
